Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 55.92 kB / 348.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2505, allocations: 49.16 MB / 397.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00257/0.2531, allocations: 1.516 MB / 399.1 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2549, allocations: 0.9093 MB / 400 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.255, allocations: 5.344 kB / 400 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.612e-05/0.2551, allocations: 8.312 kB / 400 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.2552, allocations: 19.2 kB / 400.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.2555, allocations: 57.16 kB / 400.1 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.2557, allocations: 132.7 kB / 400.2 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.2558, allocations: 12.41 kB / 400.3 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005193/0.2563, allocations: 407.9 kB / 400.7 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2565, allocations: 67.05 kB / 400.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.2565, allocations: 10.69 kB / 400.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.089e-05/0.2565, allocations: 10 kB / 400.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.2566, allocations: 69.31 kB / 400.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.2567, allocations: 115.2 kB / 400.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.2572, allocations: 364 kB / 401.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2572, allocations: 0 / 401.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.2572, allocations: 0.6562 kB / 401.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.2572, allocations: 1.406 kB / 401.3 MB, free: 7.457 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009465/0.2582, allocations: 0.6581 MB / 401.9 MB, free: 6.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2582, allocations: 13.61 kB / 401.9 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.762e-05/0.2583, allocations: 38.36 kB / 402 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2586, allocations: 213.8 kB / 402.2 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.2586, allocations: 4.844 kB / 402.2 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.2586, allocations: 11.81 kB / 402.2 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.2589, allocations: 127.9 kB / 402.3 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2589, allocations: 0 / 402.3 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.259, allocations: 4.578 kB / 402.3 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.259, allocations: 1.406 kB / 402.3 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.2591, allocations: 71.17 kB / 402.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.2599, allocations: 424 kB / 402.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.26, allocations: 71.33 kB / 402.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2602, allocations: 68.02 kB / 403 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.2602, allocations: 5.125 kB / 403 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/0.2605, allocations: 206.1 kB / 403.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2605, allocations: 0 / 403.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007359/0.2613, allocations: 465 kB / 403.6 MB, free: 5.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.2613, allocations: 171 kB / 403.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.262, allocations: 0.5166 MB / 404.3 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.2621, allocations: 29.83 kB / 404.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.2621, allocations: 100.3 kB / 404.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.2621, allocations: 35.73 kB / 404.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.2622, allocations: 79.08 kB / 404.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.2623, allocations: 326.5 kB / 404.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2624, allocations: 57.2 kB / 404.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.2625, allocations: 73.25 kB / 405 MB, free: 4.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.2628, allocations: 340.1 kB / 405.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2628, allocations: 0 / 405.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004643/0.2633, allocations: 375.9 kB / 405.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.2633, allocations: 127 kB / 405.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2633, allocations: 5.188 kB / 405.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2634, allocations: 0.5625 kB / 405.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.2634, allocations: 1.656 kB / 405.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2634, allocations: 2.766 kB / 405.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2635, allocations: 9.156 kB / 405.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.2636, allocations: 43.16 kB / 405.9 MB, free: 4.051 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002744/0.2638, allocations: 368.9 kB / 406.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.2639, allocations: 39.7 kB / 406.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.264, allocations: 64.91 kB / 406.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.264, allocations: 0.9062 kB / 406.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.264, allocations: 1.062 kB / 406.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.264, allocations: 0.7031 kB / 406.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008983/0.2649, allocations: 0.7997 MB / 407.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2649, allocations: 0 / 407.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-06/0.2649, allocations: 0 / 407.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2649, allocations: 5.188 kB / 407.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.2649, allocations: 11.91 kB / 407.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2649, allocations: 1.75 kB / 407.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2649, allocations: 4.688 kB / 407.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.2655, allocations: 0.5268 MB / 407.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/0.2659, allocations: 201.7 kB / 407.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.2659, allocations: 15.53 kB / 407.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.266, allocations: 10.31 kB / 407.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.2661, allocations: 37.58 kB / 407.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.2662, allocations: 44.45 kB / 408 MB, free: 2.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004197/0.2666, allocations: 387.5 kB / 408.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2666, allocations: 0 / 408.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.2669, allocations: 41.25 kB / 408.4 MB, free: 2.414 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.267, allocations: 113.8 kB / 408.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.2674, allocations: 367.5 kB / 408.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2674, allocations: 4.062 kB / 408.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.2676, allocations: 308.9 kB / 409.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.2683, allocations: 122.6 kB / 409.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.2694, allocations: 0.6968 MB / 410 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.2696, allocations: 0.8081 MB / 410.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.2697, allocations: 15.09 kB / 410.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2697, allocations: 0 / 410.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of Templates: time 0.004769/0.2744, allocations: 2.556 MB / 413.4 MB, free: 15.58 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.700782503001392]