Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 177.1 MB / 204.7 MB, free: 8.922 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 57.81 kB / 325.6 MB, free: 136 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.1009, allocations: 53.38 MB / 378.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005211/0.1061, allocations: 3.717 MB / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.1086, allocations: 0.923 MB / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.1089, allocations: 11.94 kB / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.1092, allocations: 99.06 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.1097, allocations: 182.4 kB / 383.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.1103, allocations: 167.7 kB / 384 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008033/0.1111, allocations: 0.6733 MB / 384.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.1114, allocations: 135.7 kB / 384.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.1118, allocations: 274.9 kB / 385.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.1122, allocations: 246.7 kB / 385.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.142e-05/0.1122, allocations: 56 kB / 385.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1124, allocations: 64 kB / 385.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1125, allocations: 131.4 kB / 385.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.1128, allocations: 250.8 kB / 385.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007528/0.1135, allocations: 0.6574 MB / 386.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1135, allocations: 4 kB / 386.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1135, allocations: 3.938 kB / 386.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1135, allocations: 0 / 386.5 MB, free: 7.781 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.001622/0.1152, allocations: 0.8047 MB / 387.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1152, allocations: 12.03 kB / 387.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.1155, allocations: 88.48 kB / 387.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.1161, allocations: 318.1 kB / 387.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.1161, allocations: 41.38 kB / 387.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.443e-05/0.1162, allocations: 52.33 kB / 387.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009107/0.1171, allocations: 0.6267 MB / 388.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1171, allocations: 0 / 388.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.1172, allocations: 24 kB / 388.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1172, allocations: 12 kB / 388.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.1178, allocations: 328.4 kB / 388.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.1205, allocations: 1.445 MB / 390.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.121, allocations: 253 kB / 390.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.1212, allocations: 137.6 kB / 390.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1213, allocations: 4 kB / 390.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.1213, allocations: 38.56 kB / 390.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.1213, allocations: 0 / 390.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001882/0.1232, allocations: 0.8161 MB / 391.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1232, allocations: 81.11 kB / 391.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.1237, allocations: 377.5 kB / 391.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.1237, allocations: 29.7 kB / 392 MB, free: 2.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.1239, allocations: 296.1 kB / 392.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.124, allocations: 119 kB / 392.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1241, allocations: 74.16 kB / 392.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1243, allocations: 358.7 kB / 392.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.1245, allocations: 100.9 kB / 392.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.1248, allocations: 191.2 kB / 393.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.1253, allocations: 312.2 kB / 393.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1253, allocations: 4 kB / 393.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008371/0.1261, allocations: 446.7 kB / 393.8 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1262, allocations: 10.81 kB / 393.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1262, allocations: 4 kB / 393.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.1265, allocations: 81.86 kB / 393.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.1269, allocations: 75.84 kB / 394 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.1296, allocations: 2.882 MB / 396.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.1299, allocations: 12 kB / 396.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.1299, allocations: 16 kB / 396.9 MB, free: 12.8 MB / 366.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.0002208/0.1302, allocations: 173.6 kB / 397.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/0.1303, allocations: 43.72 kB / 397.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.1303, allocations: 43.3 kB / 397.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.1303, allocations: 4 kB / 397.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1303, allocations: 8.062 kB / 397.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1303, allocations: 0 / 397.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.1317, allocations: 0.7918 MB / 398 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1317, allocations: 7.938 kB / 398 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.1319, allocations: 43.91 kB / 398 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/0.1322, allocations: 85.59 kB / 398.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.1322, allocations: 8 kB / 398.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.1347, allocations: 2.871 MB / 401 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1347, allocations: 0 / 401 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/0.1357, allocations: 0.6147 MB / 401.6 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.1358, allocations: 35.8 kB / 401.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.1358, allocations: 8 kB / 401.6 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.1361, allocations: 23.98 kB / 401.6 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.1362, allocations: 31.94 kB / 401.7 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1363, allocations: 8 kB / 401.7 MB, free: 7.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002944/0.1365, allocations: 263.2 kB / 401.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1365, allocations: 4 kB / 401.9 MB, free: 7.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005704/0.1371, allocations: 116 kB / 402.1 MB, free: 7.34 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.0001326/0.1372, allocations: 111.2 kB / 402.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009104/0.1382, allocations: 0.4935 MB / 402.7 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1382, allocations: 0 / 402.7 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006108/0.1388, allocations: 384.7 kB / 403 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.1392, allocations: 53.92 kB / 403.1 MB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.1408, allocations: 0.9659 MB / 404.1 MB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1411, allocations: 238.2 kB / 404.3 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.1412, allocations: 39.27 kB / 404.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.1413, allocations: 36.44 kB / 404.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1413, allocations: 0 / 404.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of Templates: time 0.009728/0.151, allocations: 4.442 MB / 408.8 MB, free: 0.5508 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.9026722309645265]