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.00139/0.00139, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001506/0.001506, allocations: 209 kB / 24.48 MB, free: 3.941 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2275/0.2275, allocations: 46.97 MB / 361.6 MB, free: 4.102 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.002669/0.002669, allocations: 63.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2918, allocations: 66.04 MB / 0.5618 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003772/0.2956, allocations: 2.416 MB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2968, allocations: 0.6428 MB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.2969, allocations: 7.938 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.297, allocations: 35.64 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.2972, allocations: 75.33 kB / 0.5649 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.2975, allocations: 75.83 kB / 0.565 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.2978, allocations: 294.7 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.298, allocations: 80.2 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.2982, allocations: 119.6 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.2984, allocations: 115.5 kB / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.2984, allocations: 24 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.659e-05/0.2985, allocations: 28 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.2986, allocations: 55.81 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2987, allocations: 103.5 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.299, allocations: 293.6 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.299, allocations: 0 / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.299, allocations: 0 / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.299, allocations: 4 kB / 0.566 GB, free: 15.76 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.0008259/0.2999, allocations: 473.5 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2999, allocations: 12.03 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.3001, allocations: 36.78 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.3004, allocations: 194.1 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3004, allocations: 20.81 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.3005, allocations: 20.38 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.3009, allocations: 268.7 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3009, allocations: 0 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.301, allocations: 15.94 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.301, allocations: 4 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.3013, allocations: 141.6 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.3025, allocations: 0.6711 MB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.3027, allocations: 94.48 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3028, allocations: 48.84 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3029, allocations: 7.938 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3029, allocations: 34.56 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3029, allocations: 0 / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001805/0.3047, allocations: 0.6465 MB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.3047, allocations: 51.41 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.3049, allocations: 214.8 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.305, allocations: 29.7 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3051, allocations: 176.2 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.3052, allocations: 59.48 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.3052, allocations: 37.7 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3054, allocations: 334.8 kB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.3055, allocations: 59.97 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3057, allocations: 109 kB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.306, allocations: 171.4 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.306, allocations: 8 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005626/0.3066, allocations: 274.9 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3066, allocations: 11.98 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3066, allocations: 0 / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002546/0.3069, allocations: 69.84 kB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.307, allocations: 35.91 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.3095, allocations: 2.749 MB / 0.5729 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.3097, allocations: 20.14 kB / 0.5729 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.3097, allocations: 4 kB / 0.5729 GB, free: 8.215 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.0001427/0.3098, allocations: 133.8 kB / 0.573 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.3099, allocations: 19.84 kB / 0.5731 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.3099, allocations: 25.8 kB / 0.5731 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3099, allocations: 4.141 kB / 0.5731 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3099, allocations: 3.938 kB / 0.5731 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3099, allocations: 3.984 kB / 0.5731 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.3102, allocations: 197.2 kB / 0.5733 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3102, allocations: 0 / 0.5733 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3104, allocations: 19.92 kB / 0.5733 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.3106, allocations: 69.61 kB / 0.5734 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3106, allocations: 4 kB / 0.5734 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/0.3131, allocations: 2.749 MB / 0.5761 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3131, allocations: 0 / 0.5761 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006587/0.3137, allocations: 387.8 kB / 0.5764 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.3138, allocations: 15.94 kB / 0.5764 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3138, allocations: 4.125 kB / 0.5764 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.314, allocations: 19.98 kB / 0.5765 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.3141, allocations: 19.91 kB / 0.5765 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.3141, allocations: 7.938 kB / 0.5765 GB, free: 4.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.3142, allocations: 152.2 kB / 0.5766 GB, free: 4.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3142, allocations: 0 / 0.5766 GB, free: 4.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.3146, allocations: 64 kB / 0.5767 GB, free: 4.066 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.0001166/0.3147, allocations: 110.2 kB / 0.5768 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006887/0.3154, allocations: 389.2 kB / 0.5772 GB, free: 3.543 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3154, allocations: 4 kB / 0.5772 GB, free: 3.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.3159, allocations: 325.5 kB / 0.5775 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3162, allocations: 34.75 kB / 0.5775 GB, free: 3.164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/0.3172, allocations: 0.51 MB / 0.578 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.3173, allocations: 138.2 kB / 0.5781 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.877e-05/0.3174, allocations: 13.64 kB / 0.5782 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.3174, allocations: 19.44 kB / 0.5782 GB, free: 2.441 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3174, allocations: 0 / 0.5782 GB, free: 2.441 MB / 414.1 MB Notification: Performance of Templates: time 0.007061/0.3245, allocations: 2.956 MB / 0.5811 GB, free: 15.51 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 -s gbode -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: 5.098124572992674]