Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.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.001507/0.001507, allocations: 74.11 kB / 19.93 MB, free: 1.77 MB / 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.001549/0.001549, allocations: 171.2 kB / 23.22 MB, free: 4.887 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.61/1.61, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.22/0.22, allocations: 32.38 MB / 269.6 MB, free: 2.723 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 407.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.508e-05, allocations: 2.281 kB / 407.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004191/0.004227, allocations: 2.37 MB / 409.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.005602, allocations: 0.62 MB / 410.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.005741, allocations: 4 kB / 410.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.00593, allocations: 43.52 kB / 410.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.006096, allocations: 71.34 kB / 410.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.006384, allocations: 67.83 kB / 410.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.006757, allocations: 294.6 kB / 410.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.006953, allocations: 80.47 kB / 410.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.007216, allocations: 171.6 kB / 411 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.007383, allocations: 87.7 kB / 411.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.007429, allocations: 20 kB / 411.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.007475, allocations: 24 kB / 411.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.007619, allocations: 51.83 kB / 411.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.007743, allocations: 87.77 kB / 411.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.008123, allocations: 287.1 kB / 411.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.008127, allocations: 3.938 kB / 411.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.008128, allocations: 0 / 411.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.008134, allocations: 4 kB / 411.6 MB, free: 12.57 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009084/0.009043, allocations: 465.6 kB / 412 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.009087, allocations: 12.03 kB / 412.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.00917, allocations: 28.75 kB / 412.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.009574, allocations: 189.3 kB / 412.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.009599, allocations: 16.88 kB / 412.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.009642, allocations: 24.31 kB / 412.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.01031, allocations: 269.8 kB / 412.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01032, allocations: 192 / 412.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.01035, allocations: 8.375 kB / 412.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.01036, allocations: 7.938 kB / 412.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.01067, allocations: 145.9 kB / 412.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.01203, allocations: 0.6721 MB / 413.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.01224, allocations: 86.55 kB / 413.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.01234, allocations: 44.84 kB / 413.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.01236, allocations: 8 kB / 413.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.0124, allocations: 38.55 kB / 413.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.01241, allocations: 0 / 413.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002/0.01441, allocations: 0.6509 MB / 414.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.01446, allocations: 59.34 kB / 414.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.01473, allocations: 206.5 kB / 414.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.01476, allocations: 25.7 kB / 414.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.01494, allocations: 172.2 kB / 414.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.015, allocations: 67.41 kB / 414.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.0151, allocations: 46.33 kB / 414.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.01535, allocations: 330.8 kB / 415.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.01551, allocations: 67.91 kB / 415.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.0157, allocations: 107.3 kB / 415.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.01606, allocations: 165.1 kB / 415.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01606, allocations: 4 kB / 415.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006048/0.01667, allocations: 282.4 kB / 415.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.0167, allocations: 14.53 kB / 415.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.01671, allocations: 4 kB / 415.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.017, allocations: 65.83 kB / 415.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.01719, allocations: 35.92 kB / 415.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.02018, allocations: 2.745 MB / 418.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.02036, allocations: 12.11 kB / 418.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.02038, allocations: 16 kB / 418.6 MB, free: 5.043 MB / 350.1 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.0002052/0.02059, allocations: 129.8 kB / 418.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.02064, allocations: 19.91 kB / 418.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.02068, allocations: 25.8 kB / 418.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02068, allocations: 3.938 kB / 418.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.02069, allocations: 0 / 418.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.0207, allocations: 4 kB / 418.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.02097, allocations: 189.2 kB / 419 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.02097, allocations: 4 kB / 419 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.02106, allocations: 15.98 kB / 419 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/0.02127, allocations: 65.67 kB / 419.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.02129, allocations: 4 kB / 419.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.02389, allocations: 2.752 MB / 421.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02389, allocations: 0 / 421.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007331/0.02462, allocations: 388.8 kB / 422.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.02467, allocations: 11.94 kB / 422.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.0247, allocations: 4 kB / 422.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.02488, allocations: 20.11 kB / 422.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.02495, allocations: 23.84 kB / 422.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.02496, allocations: 4 kB / 422.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.02512, allocations: 152.2 kB / 422.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02512, allocations: 0 / 422.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003897/0.02551, allocations: 63.94 kB / 422.5 MB, free: 0.918 MB / 350.1 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.000138/0.02565, allocations: 107.2 kB / 422.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007457/0.0264, allocations: 393.1 kB / 423 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.0264, allocations: 4 kB / 423 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.02688, allocations: 329.5 kB / 423.3 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.02721, allocations: 23.97 kB / 423.3 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.02829, allocations: 478.4 kB / 423.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.02843, allocations: 138.2 kB / 423.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.797e-05/0.02851, allocations: 13.64 kB / 423.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.02856, allocations: 16.48 kB / 423.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.02856, allocations: 0 / 423.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Templates: time 0.007494/0.03605, allocations: 2.634 MB / 426.6 MB, free: 12.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.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.169331386685371]