Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001665/0.001665, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001602/0.001602, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.548/1.548, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2406/0.2406, allocations: 46.94 MB / 361.4 MB, free: 4.402 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002505/0.002505, allocations: 75.88 kB / 0.4971 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3656, allocations: 66.04 MB / 0.5616 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004305/0.3699, allocations: 2.614 MB / 0.5642 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3713, allocations: 0.6777 MB / 0.5648 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.3714, allocations: 4 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.3716, allocations: 43.52 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.3718, allocations: 75.33 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.3721, allocations: 79.84 kB / 0.565 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.3724, allocations: 286.8 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.3726, allocations: 75.36 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.3729, allocations: 127.5 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.373, allocations: 119.5 kB / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.3731, allocations: 24 kB / 0.5656 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.3732, allocations: 24 kB / 0.5657 GB, free: 420 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.3732, allocations: 51.84 kB / 0.5657 GB, free: 368 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.3733, allocations: 123.4 kB / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.3737, allocations: 298.5 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3738, allocations: 0 / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3738, allocations: 0 / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3738, allocations: 0 / 0.5661 GB, free: 15.95 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.0008653/0.3746, allocations: 473.5 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3747, allocations: 11.97 kB / 0.5666 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.3748, allocations: 40.78 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.3752, allocations: 194.1 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3752, allocations: 12.81 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.3753, allocations: 24.38 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.3757, allocations: 195.6 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3757, allocations: 3.984 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.3757, allocations: 4 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.3757, allocations: 7.984 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.376, allocations: 149.6 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.3773, allocations: 0.7601 MB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3775, allocations: 94.48 kB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.403e-05/0.3776, allocations: 44.97 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3776, allocations: 0 / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3776, allocations: 38.56 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.3776, allocations: 0 / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001745/0.3794, allocations: 0.6505 MB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.3794, allocations: 55.41 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3796, allocations: 214.9 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3797, allocations: 25.7 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3798, allocations: 172.2 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.3798, allocations: 59.58 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.087e-05/0.3799, allocations: 45.66 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3801, allocations: 338.8 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3802, allocations: 51.97 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.3804, allocations: 105.9 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3807, allocations: 179.4 kB / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3807, allocations: 0 / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005337/0.3812, allocations: 278.9 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3812, allocations: 8 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3812, allocations: 0 / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/0.3815, allocations: 73.83 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.3817, allocations: 35.97 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.3842, allocations: 2.81 MB / 0.573 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.3843, allocations: 12.02 kB / 0.573 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.3844, allocations: 12 kB / 0.5731 GB, free: 8.305 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.0001567/0.3845, allocations: 141.7 kB / 0.5732 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.3846, allocations: 20.16 kB / 0.5732 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.3846, allocations: 25.8 kB / 0.5732 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3846, allocations: 4 kB / 0.5732 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3846, allocations: 4 kB / 0.5732 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3846, allocations: 0 / 0.5732 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.3849, allocations: 264.5 kB / 0.5735 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3849, allocations: 0 / 0.5735 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.385, allocations: 15.98 kB / 0.5735 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.3852, allocations: 77.55 kB / 0.5736 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3852, allocations: 4 kB / 0.5736 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.3877, allocations: 2.794 MB / 0.5763 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3877, allocations: 3.984 kB / 0.5763 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.3884, allocations: 408.8 kB / 0.5767 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.3884, allocations: 11.91 kB / 0.5767 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.3884, allocations: 4.141 kB / 0.5767 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3886, allocations: 15.98 kB / 0.5767 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.3887, allocations: 19.95 kB / 0.5768 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3887, allocations: 4 kB / 0.5768 GB, free: 4.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.3888, allocations: 157 kB / 0.5769 GB, free: 4.047 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3888, allocations: 0 / 0.5769 GB, free: 4.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.3892, allocations: 68.06 kB / 0.577 GB, free: 3.98 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.0001305/0.3893, allocations: 95.78 kB / 0.5771 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007406/0.3901, allocations: 404.5 kB / 0.5775 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3901, allocations: 0 / 0.5775 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.3905, allocations: 325.2 kB / 0.5778 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3909, allocations: 29.97 kB / 0.5778 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.3919, allocations: 0.5213 MB / 0.5783 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.3923, allocations: 0.7401 MB / 0.579 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.187e-05/0.3924, allocations: 17.95 kB / 0.579 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.3924, allocations: 19.44 kB / 0.5791 GB, free: 1.734 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3925, allocations: 0 / 0.5791 GB, free: 1.734 MB / 414.1 MB Notification: Performance of Templates: time 0.007789/0.4002, allocations: 2.866 MB / 0.5819 GB, free: 14.89 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.3281220300123096]