Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001516/0.001516, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.001848/0.001848, allocations: 156.6 kB / 24.48 MB, free: 3.465 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.409/1.409, allocations: 173.4 MB / 201.1 MB, free: 12.66 MB / 190.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 50.98 kB / 319.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.09129, allocations: 52.16 MB / 371.6 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005201/0.09649, allocations: 3.696 MB / 375.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.09806, allocations: 0.8451 MB / 376.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.09824, allocations: 8 kB / 376.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.09847, allocations: 91.06 kB / 376.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.0988, allocations: 190.4 kB / 376.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.09913, allocations: 143.8 kB / 376.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006706/0.0998, allocations: 0.6693 MB / 377.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.1001, allocations: 131.7 kB / 377.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.1004, allocations: 267 kB / 377.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.1007, allocations: 258.6 kB / 377.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.463e-05/0.1008, allocations: 56 kB / 377.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.544e-05/0.1009, allocations: 56 kB / 378 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.101, allocations: 135.5 kB / 378.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.1013, allocations: 246.8 kB / 378.4 MB, free: 496 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.1019, allocations: 0.6497 MB / 379 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1019, allocations: 3.938 kB / 379 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1019, allocations: 0 / 379 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.102, allocations: 0 / 379 MB, free: 15.83 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001394/0.1033, allocations: 0.8008 MB / 379.8 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1034, allocations: 8.031 kB / 379.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.1035, allocations: 72.52 kB / 379.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.104, allocations: 310.1 kB / 380.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.104, allocations: 37.38 kB / 380.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.1041, allocations: 48.38 kB / 380.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/0.105, allocations: 0.6229 MB / 380.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.105, allocations: 0 / 380.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.1051, allocations: 20 kB / 380.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.1051, allocations: 12 kB / 380.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.1057, allocations: 340.4 kB / 381.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.1083, allocations: 1.445 MB / 382.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.1087, allocations: 257 kB / 383 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.109, allocations: 133.6 kB / 383.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.109, allocations: 4 kB / 383.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.109, allocations: 42.5 kB / 383.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.109, allocations: 0 / 383.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001825/0.1109, allocations: 0.8124 MB / 383.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.1109, allocations: 81.11 kB / 384 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.1113, allocations: 373.6 kB / 384.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.1114, allocations: 29.7 kB / 384.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.1116, allocations: 300.1 kB / 384.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.1117, allocations: 122.9 kB / 384.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1118, allocations: 74.19 kB / 384.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.112, allocations: 350.7 kB / 385.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.1122, allocations: 101 kB / 385.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.1125, allocations: 203.1 kB / 385.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.113, allocations: 305.7 kB / 385.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.113, allocations: 0 / 385.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008394/0.1138, allocations: 445.8 kB / 386.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1138, allocations: 4 kB / 386.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1138, allocations: 4 kB / 386.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003266/0.1142, allocations: 85.91 kB / 386.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.1145, allocations: 79.89 kB / 386.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.1171, allocations: 2.863 MB / 389.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.1174, allocations: 27.88 kB / 389.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.1174, allocations: 16 kB / 389.4 MB, free: 4.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.1176, allocations: 165.9 kB / 389.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.1177, allocations: 39.77 kB / 389.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.328e-05/0.1178, allocations: 47.27 kB / 389.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1178, allocations: 4 kB / 389.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1178, allocations: 3.938 kB / 389.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1178, allocations: 3.984 kB / 389.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.1191, allocations: 0.8022 MB / 390.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1191, allocations: 4 kB / 390.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.1193, allocations: 47.97 kB / 390.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/0.1196, allocations: 77.58 kB / 390.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.1196, allocations: 4 kB / 390.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.1221, allocations: 2.867 MB / 393.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1221, allocations: 8.188 kB / 393.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/0.1231, allocations: 0.6169 MB / 394 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.737e-05/0.1232, allocations: 31.8 kB / 394.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.1232, allocations: 8 kB / 394.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.1236, allocations: 39.97 kB / 394.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.1236, allocations: 23.95 kB / 394.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.1237, allocations: 11.94 kB / 394.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.124, allocations: 255.2 kB / 394.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.124, allocations: 0 / 394.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005914/0.1246, allocations: 116 kB / 394.5 MB, free: 15.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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,5,100.0%), (1,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.000129/0.1247, allocations: 119.1 kB / 394.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009236/0.1256, allocations: 0.5009 MB / 395.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1256, allocations: 0 / 395.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.1262, allocations: 381.8 kB / 395.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.1267, allocations: 45.67 kB / 395.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.1283, allocations: 0.9551 MB / 396.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1286, allocations: 238.2 kB / 396.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.1287, allocations: 43.25 kB / 396.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.1288, allocations: 28.5 kB / 396.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1288, allocations: 0 / 396.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.009716/0.1385, allocations: 4.444 MB / 401.3 MB, free: 8.641 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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: 4.76575831102673]