Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.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.00191/0.00191, allocations: 108.8 kB / 21.23 MB, free: 0.6602 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.002344/0.002344, allocations: 187.4 kB / 24.51 MB, free: 4.035 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.618/1.618, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2638/0.2638, allocations: 44.91 MB / 353.5 MB, free: 11.92 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 63.91 kB / 497.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4199, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.005236/0.4251, allocations: 2.591 MB / 0.5513 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.4267, allocations: 0.6134 MB / 0.5519 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.427, allocations: 4.469 kB / 0.5519 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.4273, allocations: 38.95 kB / 0.552 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.4276, allocations: 72.31 kB / 0.552 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.4279, allocations: 66.47 kB / 0.5521 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.4285, allocations: 289.9 kB / 0.5524 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.4288, allocations: 71.09 kB / 0.5524 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.4291, allocations: 117.9 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.4293, allocations: 117.5 kB / 0.5527 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.4294, allocations: 22.72 kB / 0.5527 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.4295, allocations: 23.25 kB / 0.5527 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.4295, allocations: 53.62 kB / 0.5528 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.4297, allocations: 132.1 kB / 0.5529 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.4302, allocations: 270.8 kB / 0.5531 GB, free: 9.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4302, allocations: 1.125 kB / 0.5531 GB, free: 9.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4302, allocations: 0 / 0.5531 GB, free: 9.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.4302, allocations: 4 kB / 0.5531 GB, free: 9.742 MB / 398.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.0009886/0.4312, allocations: 473.1 kB / 0.5536 GB, free: 9.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4312, allocations: 9.422 kB / 0.5536 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.567e-05/0.4313, allocations: 35.75 kB / 0.5536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.4318, allocations: 185.3 kB / 0.5538 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.4318, allocations: 20.84 kB / 0.5538 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.4319, allocations: 22 kB / 0.5539 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.4323, allocations: 190.9 kB / 0.554 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4323, allocations: 0 / 0.554 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.4323, allocations: 10.19 kB / 0.5541 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.4324, allocations: 5.375 kB / 0.5541 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.4327, allocations: 137.3 kB / 0.5542 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.4343, allocations: 0.7704 MB / 0.5549 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.4345, allocations: 96.77 kB / 0.555 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4346, allocations: 42.03 kB / 0.5551 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.4346, allocations: 5.219 kB / 0.5551 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.4346, allocations: 35.75 kB / 0.5551 GB, free: 8.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.4346, allocations: 0 / 0.5551 GB, free: 8.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.002034/0.4367, allocations: 0.6516 MB / 0.5557 GB, free: 7.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.4367, allocations: 53.34 kB / 0.5558 GB, free: 7.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.437, allocations: 207.3 kB / 0.556 GB, free: 7.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.437, allocations: 30.61 kB / 0.556 GB, free: 7.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.4372, allocations: 173.9 kB / 0.5562 GB, free: 7.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.4372, allocations: 62.16 kB / 0.5563 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.4373, allocations: 40.67 kB / 0.5563 GB, free: 7.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4375, allocations: 334.9 kB / 0.5566 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.4376, allocations: 59.91 kB / 0.5567 GB, free: 6.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.4378, allocations: 103.2 kB / 0.5568 GB, free: 6.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.4382, allocations: 179.3 kB / 0.5569 GB, free: 6.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4382, allocations: 3.938 kB / 0.5569 GB, free: 6.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006079/0.4388, allocations: 283.3 kB / 0.5572 GB, free: 6.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4388, allocations: 4.938 kB / 0.5572 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4388, allocations: 2.031 kB / 0.5572 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.4391, allocations: 67.64 kB / 0.5573 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.4393, allocations: 28.39 kB / 0.5573 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.4419, allocations: 2.831 MB / 0.5601 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.4421, allocations: 12.06 kB / 0.5601 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.4421, allocations: 4 kB / 0.5601 GB, free: 3.355 MB / 398.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.0001629/0.4423, allocations: 145.7 kB / 0.5602 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.4423, allocations: 15.91 kB / 0.5602 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.4424, allocations: 25.8 kB / 0.5603 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4424, allocations: 4 kB / 0.5603 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4424, allocations: 0 / 0.5603 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4424, allocations: 4 kB / 0.5603 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.4427, allocations: 260.5 kB / 0.5605 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4427, allocations: 0 / 0.5605 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.4428, allocations: 15.98 kB / 0.5605 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.443, allocations: 65.67 kB / 0.5606 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4431, allocations: 7.938 kB / 0.5606 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/0.4458, allocations: 2.806 MB / 0.5633 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4458, allocations: 0 / 0.5633 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/0.4465, allocations: 400.8 kB / 0.5637 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.4465, allocations: 11.94 kB / 0.5637 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.4465, allocations: 4 kB / 0.5637 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.4467, allocations: 20.05 kB / 0.5638 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.4468, allocations: 15.97 kB / 0.5638 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.4468, allocations: 7.984 kB / 0.5638 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.447, allocations: 157.5 kB / 0.5639 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.447, allocations: 0 / 0.5639 GB, free: 15.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.4474, allocations: 64 kB / 0.564 GB, free: 15.04 MB / 414.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.0001437/0.4475, allocations: 99.25 kB / 0.5641 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007955/0.4483, allocations: 397 kB / 0.5645 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4483, allocations: 0 / 0.5645 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.4488, allocations: 332.2 kB / 0.5648 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.4491, allocations: 34.69 kB / 0.5648 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4503, allocations: 0.5139 MB / 0.5653 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.4507, allocations: 0.748 MB / 0.5661 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.4508, allocations: 21.94 kB / 0.5661 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.4509, allocations: 15.44 kB / 0.5661 GB, free: 12.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4509, allocations: 0 / 0.5661 GB, free: 12.79 MB / 414.1 MB Notification: Performance of Templates: time 0.008141/0.459, allocations: 2.847 MB / 0.5689 GB, free: 9.965 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.801833017729223]