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.00886/0.00886, allocations: 110.3 kB / 21.98 MB, free: 5.184 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.00194/0.00194, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.437/1.437, allocations: 230.5 MB / 258.9 MB, free: 7.988 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.298/0.298, allocations: 46.92 MB / 362.3 MB, free: 4.262 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.002362/0.002362, allocations: 83.86 kB / 0.4982 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3322, allocations: 66.07 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004164/0.3364, allocations: 2.611 MB / 0.5653 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3375, allocations: 0.6777 MB / 0.5659 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.3377, allocations: 7.938 kB / 0.5659 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.3378, allocations: 43.58 kB / 0.566 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.338, allocations: 67.34 kB / 0.566 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.3383, allocations: 83.84 kB / 0.5661 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.3386, allocations: 290.8 kB / 0.5664 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.3388, allocations: 79.22 kB / 0.5665 GB, free: 368 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.339, allocations: 119.6 kB / 0.5666 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.3392, allocations: 115.5 kB / 0.5667 GB, free: 132 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.3392, allocations: 24 kB / 0.5667 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-05/0.3393, allocations: 24 kB / 0.5667 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.3393, allocations: 55.78 kB / 0.5668 GB, free: 28 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.3395, allocations: 127.4 kB / 0.5669 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.3398, allocations: 294.5 kB / 0.5672 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3399, allocations: 0 / 0.5672 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3399, allocations: 0 / 0.5672 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3399, allocations: 0 / 0.5672 GB, free: 15.62 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.0008299/0.3407, allocations: 477.5 kB / 0.5676 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3407, allocations: 8.031 kB / 0.5677 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.3409, allocations: 40.78 kB / 0.5677 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3412, allocations: 198.1 kB / 0.5679 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3413, allocations: 16.81 kB / 0.5679 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.3413, allocations: 16.38 kB / 0.5679 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.3417, allocations: 199.5 kB / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3417, allocations: 0 / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.3417, allocations: 11.94 kB / 0.5681 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.3417, allocations: 12 kB / 0.5681 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.342, allocations: 145.6 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.3433, allocations: 0.7524 MB / 0.569 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3435, allocations: 102.4 kB / 0.5691 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.468e-05/0.3436, allocations: 40.84 kB / 0.5691 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.3436, allocations: 4 kB / 0.5691 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.3437, allocations: 38.56 kB / 0.5692 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3437, allocations: 0 / 0.5692 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001785/0.3455, allocations: 0.6502 MB / 0.5698 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.3455, allocations: 55.41 kB / 0.5699 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.3458, allocations: 210.9 kB / 0.5701 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.3458, allocations: 29.7 kB / 0.5701 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3459, allocations: 176.2 kB / 0.5703 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.346, allocations: 55.58 kB / 0.5703 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.346, allocations: 49.59 kB / 0.5704 GB, free: 12.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3462, allocations: 330.8 kB / 0.5707 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3464, allocations: 59.97 kB / 0.5707 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3465, allocations: 109.9 kB / 0.5708 GB, free: 11.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.3469, allocations: 167.5 kB / 0.571 GB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3469, allocations: 4 kB / 0.571 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005479/0.3474, allocations: 278.9 kB / 0.5713 GB, free: 11.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3474, allocations: 10.19 kB / 0.5713 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3474, allocations: 0 / 0.5713 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.3477, allocations: 73.83 kB / 0.5713 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3479, allocations: 31.92 kB / 0.5714 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.3506, allocations: 2.818 MB / 0.5741 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.3507, allocations: 12 kB / 0.5741 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3507, allocations: 8.641 kB / 0.5741 GB, free: 7.969 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.0001493/0.3509, allocations: 141.7 kB / 0.5743 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.3509, allocations: 23.91 kB / 0.5743 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.3509, allocations: 21.81 kB / 0.5743 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3509, allocations: 4 kB / 0.5743 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.351, allocations: 0 / 0.5743 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.351, allocations: 3.984 kB / 0.5743 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.3513, allocations: 264.6 kB / 0.5746 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3513, allocations: 4 kB / 0.5746 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.3514, allocations: 15.98 kB / 0.5746 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000202/0.3516, allocations: 77.66 kB / 0.5747 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3516, allocations: 0 / 0.5747 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.3541, allocations: 2.803 MB / 0.5774 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3541, allocations: 4.031 kB / 0.5774 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.3548, allocations: 392.8 kB / 0.5778 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.3548, allocations: 19.92 kB / 0.5778 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3548, allocations: 0 / 0.5778 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.355, allocations: 19.98 kB / 0.5778 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.3551, allocations: 15.91 kB / 0.5778 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3551, allocations: 8 kB / 0.5779 GB, free: 3.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.3552, allocations: 148.6 kB / 0.578 GB, free: 3.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3552, allocations: 4.062 kB / 0.578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003429/0.3556, allocations: 64 kB / 0.5781 GB, free: 3.652 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.0001295/0.3557, allocations: 103.2 kB / 0.5782 GB, free: 3.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006919/0.3564, allocations: 397.2 kB / 0.5785 GB, free: 3.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3564, allocations: 0 / 0.5785 GB, free: 3.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.3569, allocations: 317.2 kB / 0.5788 GB, free: 2.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.3572, allocations: 35.86 kB / 0.5789 GB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3582, allocations: 0.5509 MB / 0.5794 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.3586, allocations: 0.744 MB / 0.5801 GB, free: 1.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.3587, allocations: 23.44 kB / 0.5802 GB, free: 1.371 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3587, allocations: 0 / 0.5802 GB, free: 1.371 MB / 414.1 MB Notification: Performance of Templates: time 0.007174/0.3659, allocations: 4.589 MB / 0.5846 GB, free: 12.79 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/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: 8.422088132007048]