Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.001705/0.001705, allocations: 103.6 kB / 21.19 MB, free: 0.6523 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.002038/0.002038, allocations: 209.2 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2313/0.2313, allocations: 46.97 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004464/0.3452, allocations: 2.432 MB / 0.5642 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3465, allocations: 0.6311 MB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.3466, allocations: 11.88 kB / 0.5648 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.3468, allocations: 35.64 kB / 0.5648 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.3469, allocations: 71.34 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.3473, allocations: 83.83 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.3476, allocations: 290.7 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.3478, allocations: 67.22 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.348, allocations: 127.6 kB / 0.5654 GB, free: 428 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.3482, allocations: 103.5 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.3482, allocations: 24 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.688e-05/0.3483, allocations: 24 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.3483, allocations: 55.83 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3484, allocations: 103.5 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.3488, allocations: 290.5 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3488, allocations: 4 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3488, allocations: 0 / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3488, allocations: 0 / 0.566 GB, free: 15.83 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.000833/0.3497, allocations: 481.5 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3497, allocations: 8.031 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.3499, allocations: 36.78 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.3502, allocations: 190.1 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.3503, allocations: 16.8 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.3503, allocations: 32.36 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.3507, allocations: 272.7 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3508, allocations: 0 / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.3508, allocations: 4 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.3508, allocations: 4 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.3511, allocations: 145.6 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.3523, allocations: 0.6711 MB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.3525, allocations: 94.42 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.3526, allocations: 48.83 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3526, allocations: 7.938 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.3527, allocations: 30.56 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3527, allocations: 0 / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001766/0.3544, allocations: 0.6571 MB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3545, allocations: 51.41 kB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.3547, allocations: 206.8 kB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.3547, allocations: 33.7 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3548, allocations: 172.2 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.3549, allocations: 59.48 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.209e-05/0.355, allocations: 37.7 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3551, allocations: 334.8 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3553, allocations: 63.97 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.3554, allocations: 101.1 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.3557, allocations: 183.2 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3557, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005332/0.3563, allocations: 282.9 kB / 0.5701 GB, free: 11.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3563, allocations: 4 kB / 0.5701 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3563, allocations: 4 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.3565, allocations: 69.67 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3567, allocations: 40.06 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.3592, allocations: 2.752 MB / 0.5729 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.3593, allocations: 15.98 kB / 0.5729 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3593, allocations: 8.125 kB / 0.5729 GB, free: 8.273 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.0001581/0.3595, allocations: 135.3 kB / 0.573 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.3595, allocations: 19.84 kB / 0.573 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.3596, allocations: 21.81 kB / 0.5731 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3596, allocations: 4.641 kB / 0.5731 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3596, allocations: 0 / 0.5731 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3596, allocations: 0 / 0.5731 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.3599, allocations: 193.2 kB / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3599, allocations: 0 / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.3599, allocations: 23.92 kB / 0.5733 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/0.3601, allocations: 73.69 kB / 0.5733 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3602, allocations: 3.938 kB / 0.5734 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.3625, allocations: 2.745 MB / 0.576 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3625, allocations: 3.984 kB / 0.576 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.3632, allocations: 399.3 kB / 0.5764 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.3632, allocations: 11.94 kB / 0.5764 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.3632, allocations: 0 / 0.5764 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.3634, allocations: 24.11 kB / 0.5765 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.3635, allocations: 19.91 kB / 0.5765 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.3635, allocations: 4 kB / 0.5765 GB, free: 4.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.3636, allocations: 148.2 kB / 0.5766 GB, free: 4.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3636, allocations: 0 / 0.5766 GB, free: 4.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.364, allocations: 64 kB / 0.5767 GB, free: 4.133 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.0001333/0.3642, allocations: 107.2 kB / 0.5768 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007084/0.3649, allocations: 397.2 kB / 0.5772 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3649, allocations: 0 / 0.5772 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.3653, allocations: 321.5 kB / 0.5775 GB, free: 3.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3657, allocations: 31.92 kB / 0.5775 GB, free: 3.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.367, allocations: 0.5378 MB / 0.578 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3672, allocations: 138.2 kB / 0.5782 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.3672, allocations: 19.42 kB / 0.5782 GB, free: 2.488 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3672, allocations: 0 / 0.5782 GB, free: 2.488 MB / 414.1 MB Notification: Performance of Templates: time 0.007828/0.375, allocations: 4.607 MB / 0.5827 GB, free: 13.88 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.232841208111495]