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.001453/0.001453, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001851/0.001851, allocations: 205.1 kB / 23.72 MB, free: 4.391 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.597/1.597, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 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.251/0.251, allocations: 46.95 MB / 360.8 MB, free: 3.938 MB / 286.1 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 0.002726/0.002726, allocations: 75.88 kB / 0.4966 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4116, allocations: 66.09 MB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004431/0.4161, allocations: 2.416 MB / 0.5635 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.4176, allocations: 0.6311 MB / 0.5641 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.4179, allocations: 4 kB / 0.5641 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.4181, allocations: 43.58 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.4184, allocations: 75.33 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.4188, allocations: 83.83 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.4193, allocations: 294.8 kB / 0.5646 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.4195, allocations: 63.25 kB / 0.5647 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.4197, allocations: 123.5 kB / 0.5648 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.4199, allocations: 99.42 kB / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.42, allocations: 24 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.42, allocations: 35.98 kB / 0.5649 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.4201, allocations: 47.83 kB / 0.565 GB, free: 44 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.4202, allocations: 103.7 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.4206, allocations: 294.5 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4206, allocations: 4 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4206, allocations: 0 / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4207, allocations: 0 / 0.5654 GB, free: 15.65 MB / 414.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.0009623/0.4216, allocations: 477.5 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4217, allocations: 8.031 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.4219, allocations: 32.8 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.4223, allocations: 210 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.4223, allocations: 20.8 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.4224, allocations: 16.38 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.4228, allocations: 272.7 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4229, allocations: 0 / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.4229, allocations: 12 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.4229, allocations: 8 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.4232, allocations: 133.7 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.4245, allocations: 0.6788 MB / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.4248, allocations: 98.48 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.4249, allocations: 40.84 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.4249, allocations: 3.938 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.4249, allocations: 42.69 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.4249, allocations: 0 / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00186/0.4268, allocations: 0.6447 MB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4268, allocations: 55.41 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.4271, allocations: 210.8 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.4271, allocations: 25.7 kB / 0.5683 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.4272, allocations: 180.1 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.4273, allocations: 67.45 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.4274, allocations: 41.7 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4275, allocations: 326.8 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.4277, allocations: 59.97 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.4278, allocations: 109 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.4282, allocations: 175.8 kB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4282, allocations: 0 / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005451/0.4287, allocations: 282.9 kB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4287, allocations: 4 kB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4287, allocations: 8.156 kB / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/0.429, allocations: 69.61 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.4292, allocations: 27.98 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.4317, allocations: 2.756 MB / 0.5722 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.4319, allocations: 12.02 kB / 0.5722 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4319, allocations: 11.98 kB / 0.5723 GB, free: 8.094 MB / 414.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.0001511/0.432, allocations: 133.8 kB / 0.5724 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.4321, allocations: 23.84 kB / 0.5724 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.4321, allocations: 25.8 kB / 0.5724 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4321, allocations: 0.6562 kB / 0.5724 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4321, allocations: 8.062 kB / 0.5724 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4321, allocations: 0 / 0.5724 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.4324, allocations: 189.3 kB / 0.5726 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4324, allocations: 0 / 0.5726 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/0.4325, allocations: 19.97 kB / 0.5726 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.4327, allocations: 69.61 kB / 0.5727 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.4327, allocations: 11.94 kB / 0.5727 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.4351, allocations: 2.745 MB / 0.5754 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4351, allocations: 4.031 kB / 0.5754 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.4358, allocations: 392.9 kB / 0.5758 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.4358, allocations: 11.94 kB / 0.5758 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.4358, allocations: 8 kB / 0.5758 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.436, allocations: 11.98 kB / 0.5758 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.4361, allocations: 23.91 kB / 0.5758 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.4361, allocations: 4.172 kB / 0.5758 GB, free: 4.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.4362, allocations: 152.2 kB / 0.576 GB, free: 4.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4362, allocations: 7.938 kB / 0.576 GB, free: 4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.4366, allocations: 68.06 kB / 0.5761 GB, free: 3.934 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.0001263/0.4367, allocations: 95.25 kB / 0.5761 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007204/0.4375, allocations: 397.1 kB / 0.5765 GB, free: 3.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4375, allocations: 320 / 0.5765 GB, free: 3.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.4379, allocations: 329.2 kB / 0.5768 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.4382, allocations: 21.55 kB / 0.5769 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4393, allocations: 0.5061 MB / 0.5773 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.4395, allocations: 138.2 kB / 0.5775 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.299e-05/0.4396, allocations: 17.64 kB / 0.5775 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.4396, allocations: 15.44 kB / 0.5775 GB, free: 2.328 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4396, allocations: 0 / 0.5775 GB, free: 2.328 MB / 414.1 MB Notification: Performance of Templates: time 0.007264/0.4469, allocations: 2.899 MB / 0.5803 GB, free: 15.47 MB / 430.1 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.521669326350093]