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.001797/0.001797, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002479/0.002479, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.616/1.616, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.2257/0.2257, allocations: 46.96 MB / 361.6 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 180] 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.002704/0.002704, allocations: 83.88 kB / 0.4974 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3477, allocations: 66.09 MB / 0.5619 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003919/0.3516, allocations: 2.424 MB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3529, allocations: 0.6349 MB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.353, allocations: 4 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.3531, allocations: 43.58 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.3533, allocations: 67.34 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.3536, allocations: 87.83 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.3539, allocations: 286.8 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.3541, allocations: 72.2 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.3543, allocations: 123.6 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.3545, allocations: 103.4 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.3545, allocations: 24 kB / 0.5657 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.3546, allocations: 28 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.3546, allocations: 47.92 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.3547, allocations: 107.5 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.3551, allocations: 297.4 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3551, allocations: 4 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3551, allocations: 0 / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3551, allocations: 0 / 0.5661 GB, free: 15.59 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.0008131/0.3559, allocations: 473.5 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.356, allocations: 8.031 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.3561, allocations: 36.78 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.3565, allocations: 202 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.3565, allocations: 16.81 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.3566, allocations: 20.38 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.357, allocations: 272.7 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.357, allocations: 3.984 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.357, allocations: 8 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.357, allocations: 8 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.3573, allocations: 133.7 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3586, allocations: 0.6749 MB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.3588, allocations: 90.55 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.3589, allocations: 44.84 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3589, allocations: 3.938 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.3589, allocations: 46.67 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.3589, allocations: 0 / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001798/0.3607, allocations: 0.6386 MB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3608, allocations: 59.34 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.361, allocations: 218.8 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.361, allocations: 25.7 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3611, allocations: 172.2 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.3612, allocations: 67.47 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.3613, allocations: 41.7 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3614, allocations: 326.8 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3616, allocations: 59.97 kB / 0.5696 GB, free: 11.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.3618, allocations: 109 kB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.3621, allocations: 179.6 kB / 0.5699 GB, free: 11.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3621, allocations: 0 / 0.5699 GB, free: 11.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000533/0.3626, allocations: 278.9 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3626, allocations: 5.875 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3626, allocations: 4.156 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.3629, allocations: 77.59 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.363, allocations: 27.98 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.3656, allocations: 2.756 MB / 0.573 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3657, allocations: 8 kB / 0.573 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3657, allocations: 8 kB / 0.573 GB, free: 8.047 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.0001667/0.3659, allocations: 138.4 kB / 0.5731 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.3659, allocations: 23.98 kB / 0.5731 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.366, allocations: 25.8 kB / 0.5732 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.366, allocations: 0 / 0.5732 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.366, allocations: 8.25 kB / 0.5732 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.366, allocations: 7.984 kB / 0.5732 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.3663, allocations: 189.2 kB / 0.5734 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3663, allocations: 3.938 kB / 0.5734 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.382e-05/0.3664, allocations: 15.98 kB / 0.5734 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.3666, allocations: 69.61 kB / 0.5735 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3666, allocations: 4 kB / 0.5735 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.3692, allocations: 2.746 MB / 0.5761 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3692, allocations: 0 / 0.5761 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.3699, allocations: 403.7 kB / 0.5765 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.37, allocations: 15.92 kB / 0.5765 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.37, allocations: 4 kB / 0.5765 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3702, allocations: 15.98 kB / 0.5766 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.3702, allocations: 19.91 kB / 0.5766 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3703, allocations: 7.938 kB / 0.5766 GB, free: 4.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3704, allocations: 148.2 kB / 0.5767 GB, free: 3.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3704, allocations: 0 / 0.5767 GB, free: 3.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.3708, allocations: 64 kB / 0.5768 GB, free: 3.891 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.0001545/0.3709, allocations: 103.3 kB / 0.5769 GB, free: 3.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007743/0.3717, allocations: 397.2 kB / 0.5773 GB, free: 3.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3717, allocations: 0 / 0.5773 GB, free: 3.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.3722, allocations: 329.5 kB / 0.5776 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3725, allocations: 19.98 kB / 0.5776 GB, free: 2.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3736, allocations: 0.539 MB / 0.5781 GB, free: 2.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.3738, allocations: 138.2 kB / 0.5783 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.3738, allocations: 19.42 kB / 0.5783 GB, free: 2.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3738, allocations: 0 / 0.5783 GB, free: 2.25 MB / 414.1 MB Notification: Performance of Templates: time 0.007529/0.3814, allocations: 4.608 MB / 0.5828 GB, free: 13.64 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/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: 8.730036934837699]