Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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.002101/0.002101, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.00287/0.00287, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.516/1.516, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3572/0.3572, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/4.051e-05, allocations: 2.312 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.006824/0.006865, allocations: 2.427 MB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.009253, allocations: 0.6504 MB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003413/0.009594, allocations: 4 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.009875, allocations: 43.58 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.01028, allocations: 75.28 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.01081, allocations: 79.86 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.01141, allocations: 302.4 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.01165, allocations: 60.72 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.01214, allocations: 179.6 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.01235, allocations: 87.7 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.01242, allocations: 28 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.01252, allocations: 28 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.01258, allocations: 51.77 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.01273, allocations: 95.8 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000523/0.01326, allocations: 299 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.01326, allocations: 0 / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.01326, allocations: 7.938 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.01328, allocations: 0 / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001067/0.01435, allocations: 477.6 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.01439, allocations: 11.97 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.01464, allocations: 56.73 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.01512, allocations: 198.3 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.01514, allocations: 20.88 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.01519, allocations: 16.38 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.01571, allocations: 273.8 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.01572, allocations: 192 / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.01575, allocations: 12.38 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.01577, allocations: 7.938 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.01609, allocations: 141.9 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.01759, allocations: 0.6799 MB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.01782, allocations: 98.47 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.01792, allocations: 40.84 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.01794, allocations: 4 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.01798, allocations: 34.56 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.01798, allocations: 0 / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002008/0.01999, allocations: 0.6543 MB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.02004, allocations: 55.41 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.02031, allocations: 198.8 kB / 384.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.02034, allocations: 25.7 kB / 384.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.02049, allocations: 176.2 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.02056, allocations: 55.48 kB / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/0.02065, allocations: 45.66 kB / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.02084, allocations: 326.8 kB / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.02101, allocations: 67.89 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.02121, allocations: 105.1 kB / 385.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.02155, allocations: 172 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.02156, allocations: 0 / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000624/0.02218, allocations: 286.9 kB / 385.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.02221, allocations: 11.94 kB / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.02221, allocations: 0 / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/0.02263, allocations: 101.7 kB / 385.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.02279, allocations: 31.98 kB / 385.9 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.02582, allocations: 2.761 MB / 388.6 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.02597, allocations: 11.98 kB / 388.7 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.02599, allocations: 4 kB / 388.7 MB, free: 6.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.02617, allocations: 137.8 kB / 388.8 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.02623, allocations: 23.86 kB / 388.8 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.02627, allocations: 25.8 kB / 388.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.02628, allocations: 8 kB / 388.8 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.02629, allocations: 4 kB / 388.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.02629, allocations: 0 / 388.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.0266, allocations: 189.2 kB / 389 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.0266, allocations: 0 / 389 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.0267, allocations: 19.98 kB / 389.1 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/0.02706, allocations: 89.64 kB / 389.1 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.02708, allocations: 8.125 kB / 389.2 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.02997, allocations: 2.753 MB / 391.9 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.02997, allocations: 3.984 kB / 391.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.03071, allocations: 399.3 kB / 392.3 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.03075, allocations: 23.88 kB / 392.3 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.03078, allocations: 4 kB / 392.3 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.03096, allocations: 20.3 kB / 392.3 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.03104, allocations: 19.97 kB / 392.4 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.03105, allocations: 4 kB / 392.4 MB, free: 2.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.03122, allocations: 148.2 kB / 392.5 MB, free: 2.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03122, allocations: 0 / 392.5 MB, free: 2.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.0316, allocations: 67.94 kB / 392.6 MB, free: 2.719 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.03174, allocations: 95.25 kB / 392.7 MB, free: 2.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007994/0.03254, allocations: 416 kB / 393.1 MB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.03254, allocations: 0 / 393.1 MB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.03306, allocations: 321.1 kB / 393.4 MB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.03338, allocations: 24.95 kB / 393.4 MB, free: 1.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.03445, allocations: 485.8 kB / 393.9 MB, free: 1.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.03461, allocations: 134.2 kB / 394 MB, free: 1.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.534e-05/0.0347, allocations: 25.56 kB / 394 MB, free: 1.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.03476, allocations: 20.48 kB / 394.1 MB, free: 1.129 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03476, allocations: 0 / 394.1 MB, free: 1.129 MB / 362.7 MB Notification: Performance of Templates: time 0.007449/0.04221, allocations: 2.673 MB / 396.7 MB, free: 14.49 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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: 5.079935029963963]