Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 51.91 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2393, allocations: 52.17 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002808/0.2421, allocations: 1.54 MB / 425.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.2441, allocations: 0.8498 MB / 426.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.2441, allocations: 7.938 kB / 426.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.656e-05/0.2442, allocations: 11.86 kB / 426.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.316e-05/0.2443, allocations: 23.86 kB / 426.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.2446, allocations: 55.86 kB / 426.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.2448, allocations: 139.7 kB / 426.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.2449, allocations: 12 kB / 426.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.2454, allocations: 399.2 kB / 426.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.2456, allocations: 67.75 kB / 427 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.2456, allocations: 8 kB / 427 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.557e-05/0.2456, allocations: 12 kB / 427 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.962e-05/0.2457, allocations: 67.69 kB / 427 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2459, allocations: 111.2 kB / 427.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.2463, allocations: 363.8 kB / 427.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2463, allocations: 4 kB / 427.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2463, allocations: 0 / 427.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2463, allocations: 0 / 427.5 MB, free: 11.04 MB / 334.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.0008089/0.2471, allocations: 0.6591 MB / 428.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2471, allocations: 15.97 kB / 428.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/0.2472, allocations: 36.7 kB / 428.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.2475, allocations: 216.8 kB / 428.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2475, allocations: 4.375 kB / 428.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.2476, allocations: 8.375 kB / 428.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.2479, allocations: 137.1 kB / 428.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2479, allocations: 0 / 428.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.2479, allocations: 8 kB / 428.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2479, allocations: 0 / 428.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.2481, allocations: 55.97 kB / 428.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.2488, allocations: 439.5 kB / 429.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.249, allocations: 70.55 kB / 429.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.2491, allocations: 64.89 kB / 429.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.2491, allocations: 0 / 429.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003991/0.2495, allocations: 198.7 kB / 429.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2495, allocations: 0 / 429.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007971/0.2503, allocations: 464.1 kB / 429.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.2504, allocations: 166.2 kB / 430 MB, free: 8.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.2511, allocations: 0.5247 MB / 430.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.2511, allocations: 29.7 kB / 430.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/0.2512, allocations: 101.1 kB / 430.7 MB, free: 7.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.2513, allocations: 23.81 kB / 430.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.2514, allocations: 77.56 kB / 430.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2515, allocations: 326.8 kB / 431.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.2517, allocations: 55.91 kB / 431.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.2518, allocations: 85.67 kB / 431.2 MB, free: 7.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.2522, allocations: 347.4 kB / 431.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2522, allocations: 0 / 431.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005453/0.2527, allocations: 375.3 kB / 431.9 MB, free: 6.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.2528, allocations: 126.8 kB / 432.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2528, allocations: 112 / 432.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2528, allocations: 3.938 kB / 432.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-05/0.2529, allocations: 4 kB / 432.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2529, allocations: 0 / 432.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.253, allocations: 16.02 kB / 432.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.2531, allocations: 43.94 kB / 432.1 MB, free: 6.055 MB / 334.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.0004196/0.2535, allocations: 366.2 kB / 432.5 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.2535, allocations: 39.77 kB / 432.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.2537, allocations: 63.08 kB / 432.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.2537, allocations: 3.938 kB / 432.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2537, allocations: 0 / 432.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2537, allocations: 4 kB / 432.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.2547, allocations: 0.7813 MB / 433.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2547, allocations: 0 / 433.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-06/0.2547, allocations: 0 / 433.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2547, allocations: 0 / 433.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.2548, allocations: 16 kB / 433.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2548, allocations: 0 / 433.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2548, allocations: 3.938 kB / 433.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000695/0.2555, allocations: 0.5293 MB / 433.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.2559, allocations: 213.3 kB / 434.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.2559, allocations: 11.98 kB / 434.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.2561, allocations: 8 kB / 434.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.2562, allocations: 31.91 kB / 434.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.2562, allocations: 44.17 kB / 434.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005092/0.2567, allocations: 386.9 kB / 434.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2567, allocations: 0 / 434.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000295/0.257, allocations: 51.94 kB / 434.6 MB, free: 3.375 MB / 334.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.0001705/0.2572, allocations: 123 kB / 434.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005481/0.2578, allocations: 373.5 kB / 435.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2578, allocations: 0 / 435.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.2581, allocations: 301.6 kB / 435.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.2588, allocations: 120.9 kB / 435.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.26, allocations: 0.7017 MB / 436.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.2605, allocations: 0.8099 MB / 437.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.2605, allocations: 15.38 kB / 437.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2605, allocations: 0 / 437.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of Templates: time 0.005002/0.2655, allocations: 2.541 MB / 439.6 MB, free: 14.24 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.35819532093592]