Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001151, allocations: 105.9 kB / 18.25 MB, free: 4.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 195.6 kB / 19.18 MB, free: 3.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.92 kB / 281.3 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07676/0.07806, allocations: 46.62 MB / 328 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01002/0.08813, allocations: 8.86 MB / 336.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005313/0.09349, allocations: 2.914 MB / 339.7 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.09455, allocations: 35.88 kB / 339.8 MB, free: 8.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.09619, allocations: 0.6019 MB / 340.4 MB, free: 7.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.0983, allocations: 0.7261 MB / 341.1 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.09899, allocations: 327.5 kB / 341.4 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002447/0.1015, allocations: 2.393 MB / 343.8 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.1033, allocations: 1.714 MB / 345.5 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.1046, allocations: 1.059 MB / 346.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.1063, allocations: 1.339 MB / 347.9 MB, free: 376 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004113/0.1068, allocations: 280 kB / 348.2 MB, free: 96 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007566/0.1075, allocations: 371.8 kB / 348.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007552/0.1083, allocations: 0.8064 MB / 349.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.1098, allocations: 1.26 MB / 350.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.1131, allocations: 3.637 MB / 354.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1131, allocations: 0 / 354.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1131, allocations: 0 / 354.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.736e-05/0.1132, allocations: 0 / 354.3 MB, free: 10.01 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004966/0.1182, allocations: 2.575 MB / 356.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1182, allocations: 12.03 kB / 356.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.1189, allocations: 262.1 kB / 357.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.121, allocations: 1.295 MB / 358.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1211, allocations: 139.9 kB / 358.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.1214, allocations: 188 kB / 358.7 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/0.1253, allocations: 2.406 MB / 361.1 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.663e-05/0.1254, allocations: 0 / 361.1 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.1256, allocations: 72 kB / 361.2 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-05/0.1257, allocations: 95.48 kB / 361.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.1291, allocations: 2.012 MB / 363.3 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.1407, allocations: 7.456 MB / 370.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.1426, allocations: 1.276 MB / 372 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.1442, allocations: 0.9041 MB / 372.9 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.1444, allocations: 118.1 kB / 373 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.1445, allocations: 47.56 kB / 373.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/0.1445, allocations: 0 / 373.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009464/0.154, allocations: 5.001 MB / 378.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1541, allocations: 72.34 kB / 378.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.156, allocations: 1.376 MB / 379.5 MB, free: 132 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.1561, allocations: 45.7 kB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.135/0.2911, allocations: 0.894 MB / 380.5 MB, free: 52.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.2916, allocations: 349.6 kB / 380.8 MB, free: 51.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.2919, allocations: 214.7 kB / 381 MB, free: 51.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.292, allocations: 355.8 kB / 381.4 MB, free: 51.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.2931, allocations: 0.6323 MB / 382 MB, free: 51.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.2943, allocations: 0.9159 MB / 382.9 MB, free: 50.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.2966, allocations: 1.65 MB / 384.6 MB, free: 49.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.2966, allocations: 4.219 kB / 384.6 MB, free: 49.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004352/0.3009, allocations: 2.39 MB / 387 MB, free: 49.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.301, allocations: 10.09 kB / 387 MB, free: 49.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.301, allocations: 8.031 kB / 387 MB, free: 49.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.303, allocations: 0.7169 MB / 387.7 MB, free: 48.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009752/0.304, allocations: 238.6 kB / 387.9 MB, free: 48.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009631/0.3136, allocations: 8.746 MB / 396.7 MB, free: 43.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.3148, allocations: 79.3 kB / 396.8 MB, free: 43.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.3149, allocations: 47.5 kB / 396.8 MB, free: 43.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008837/0.3158, allocations: 0.6327 MB / 397.4 MB, free: 43.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.3161, allocations: 143.8 kB / 397.6 MB, free: 43.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.3189, allocations: 1.891 MB / 399.5 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.319, allocations: 11.88 kB / 399.5 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.319, allocations: 3.906 kB / 399.5 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.319, allocations: 7.703 kB / 399.5 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005737/0.3247, allocations: 4.018 MB / 403.5 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.3248, allocations: 3.656 kB / 403.5 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007471/0.3255, allocations: 185.6 kB / 403.7 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.3266, allocations: 463.1 kB / 404.2 MB, free: 39.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.131e-05/0.3267, allocations: 23.98 kB / 404.2 MB, free: 39.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/0.3313, allocations: 6.705 MB / 410.9 MB, free: 32.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3314, allocations: 0 / 410.9 MB, free: 32.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.3349, allocations: 2.771 MB / 413.7 MB, free: 29.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006759/0.3356, allocations: 355.2 kB / 414 MB, free: 29.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.3358, allocations: 27.98 kB / 414 MB, free: 29.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/0.3366, allocations: 75.86 kB / 414.1 MB, free: 29.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.3368, allocations: 84.81 kB / 414.2 MB, free: 28.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.946e-05/0.3369, allocations: 30.67 kB / 414.2 MB, free: 28.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.3379, allocations: 0.9543 MB / 415.2 MB, free: 27.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.338, allocations: 0 / 415.2 MB, free: 27.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001409/0.3394, allocations: 432 kB / 415.6 MB, free: 27.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003331/0.3397, allocations: 183.3 kB / 415.8 MB, free: 27.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003717/0.3434, allocations: 2.369 MB / 418.1 MB, free: 25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3435, allocations: 0 / 418.1 MB, free: 25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.3452, allocations: 1.344 MB / 419.5 MB, free: 23.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.3471, allocations: 388.6 kB / 419.9 MB, free: 23.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/0.3524, allocations: 4.104 MB / 424 MB, free: 19.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009359/0.3534, allocations: 1.673 MB / 425.6 MB, free: 17.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.3538, allocations: 103.4 kB / 425.7 MB, free: 17.3 MB / 318.1 MB Notification: Performance of SimCode: time 2.304e-06/0.3538, allocations: 0 / 425.7 MB, free: 17.3 MB / 318.1 MB Notification: Performance of Templates: time 0.05482/0.4086, allocations: 52.58 MB / 478.3 MB, free: 12.6 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches