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.002021/0.002021, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.002286/0.002286, allocations: 218 kB / 25.13 MB, free: 3.609 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.488/1.488, allocations: 230.4 MB / 258.7 MB, free: 8.066 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.245/0.245, allocations: 46.93 MB / 362 MB, free: 4.258 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-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.00235/0.00235, allocations: 75.88 kB / 0.4978 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3928, allocations: 66.09 MB / 0.5623 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004237/0.397, allocations: 2.591 MB / 0.5648 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.3983, allocations: 0.6777 MB / 0.5655 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.3985, allocations: 7.938 kB / 0.5655 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.3986, allocations: 39.64 kB / 0.5655 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.3988, allocations: 71.34 kB / 0.5656 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.3991, allocations: 75.83 kB / 0.5657 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.3995, allocations: 298.7 kB / 0.566 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3997, allocations: 75.36 kB / 0.566 GB, free: 452 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.3999, allocations: 119.6 kB / 0.5662 GB, free: 332 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.4, allocations: 119.5 kB / 0.5663 GB, free: 212 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.4001, allocations: 24 kB / 0.5663 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.385e-05/0.4002, allocations: 28 kB / 0.5663 GB, free: 160 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.4002, allocations: 47.83 kB / 0.5664 GB, free: 112 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.4004, allocations: 131.4 kB / 0.5665 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.4007, allocations: 290.4 kB / 0.5668 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4007, allocations: 0 / 0.5668 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4007, allocations: 4 kB / 0.5668 GB, free: 15.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.4007, allocations: 0 / 0.5668 GB, free: 15.7 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.000843/0.4016, allocations: 477.5 kB / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4016, allocations: 12.03 kB / 0.5672 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.4018, allocations: 32.78 kB / 0.5673 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.4022, allocations: 206.1 kB / 0.5675 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.4022, allocations: 16.81 kB / 0.5675 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.4022, allocations: 20.38 kB / 0.5675 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.4027, allocations: 268.7 kB / 0.5678 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4027, allocations: 0 / 0.5678 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.4027, allocations: 15.94 kB / 0.5678 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4027, allocations: 7.938 kB / 0.5678 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.403, allocations: 141.7 kB / 0.5679 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.4044, allocations: 0.7563 MB / 0.5687 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.4046, allocations: 102.4 kB / 0.5687 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.19e-05/0.4047, allocations: 40.84 kB / 0.5688 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.4047, allocations: 4 kB / 0.5688 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4047, allocations: 34.56 kB / 0.5688 GB, free: 13.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.4047, allocations: 4 kB / 0.5688 GB, free: 13.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001832/0.4065, allocations: 0.6493 MB / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4066, allocations: 55.41 kB / 0.5695 GB, free: 12.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.4068, allocations: 214.9 kB / 0.5697 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4069, allocations: 25.7 kB / 0.5697 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.407, allocations: 172.2 kB / 0.5699 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/0.407, allocations: 51.58 kB / 0.57 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.4071, allocations: 49.66 kB / 0.57 GB, free: 12.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4073, allocations: 330.8 kB / 0.5703 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.4074, allocations: 59.97 kB / 0.5704 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.4076, allocations: 113.9 kB / 0.5705 GB, free: 11.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.4079, allocations: 167.5 kB / 0.5706 GB, free: 11.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4079, allocations: 8 kB / 0.5707 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005675/0.4085, allocations: 282.9 kB / 0.5709 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4085, allocations: 4 kB / 0.5709 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4085, allocations: 0 / 0.5709 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.4088, allocations: 73.83 kB / 0.571 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.4089, allocations: 31.92 kB / 0.571 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.4117, allocations: 2.826 MB / 0.5738 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.4119, allocations: 8 kB / 0.5738 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.4119, allocations: 4 kB / 0.5738 GB, free: 7.953 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.0001698/0.4121, allocations: 141.7 kB / 0.5739 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.4121, allocations: 15.91 kB / 0.5739 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.4122, allocations: 34.52 kB / 0.574 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4122, allocations: 0 / 0.574 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.4122, allocations: 0 / 0.574 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4122, allocations: 96 / 0.574 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.4126, allocations: 256.5 kB / 0.5742 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.4126, allocations: 7.922 kB / 0.5742 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.4127, allocations: 23.92 kB / 0.5743 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.4129, allocations: 69.61 kB / 0.5743 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4129, allocations: 8 kB / 0.5743 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.4157, allocations: 2.811 MB / 0.5771 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4157, allocations: 0 / 0.5771 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.4164, allocations: 391 kB / 0.5774 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.4164, allocations: 15.94 kB / 0.5775 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.4165, allocations: 8.109 kB / 0.5775 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.4166, allocations: 16 kB / 0.5775 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.4167, allocations: 15.95 kB / 0.5775 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.4167, allocations: 8 kB / 0.5775 GB, free: 3.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.4169, allocations: 148.6 kB / 0.5777 GB, free: 3.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4169, allocations: 0 / 0.5777 GB, free: 3.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000393/0.4173, allocations: 64 kB / 0.5777 GB, free: 3.641 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.0001434/0.4174, allocations: 107.2 kB / 0.5778 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007649/0.4182, allocations: 397.2 kB / 0.5782 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4182, allocations: 320 / 0.5782 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.4186, allocations: 325.2 kB / 0.5785 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.419, allocations: 27.92 kB / 0.5785 GB, free: 2.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.4201, allocations: 0.5123 MB / 0.579 GB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.4205, allocations: 0.748 MB / 0.5798 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.658e-05/0.4206, allocations: 17.95 kB / 0.5798 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.4206, allocations: 19.42 kB / 0.5798 GB, free: 1.391 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4206, allocations: 3.938 kB / 0.5798 GB, free: 1.387 MB / 414.1 MB Notification: Performance of Templates: time 0.007538/0.4282, allocations: 2.866 MB / 0.5826 GB, free: 14.54 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 -s gbode -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/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-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.3655957949813455]