Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001328/0.001328, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001464/0.001464, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 43.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.221, allocations: 53.36 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005745/0.2268, allocations: 3.704 MB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2285, allocations: 0.9308 MB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.2286, allocations: 11.94 kB / 437 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.2289, allocations: 95.06 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.2292, allocations: 182.4 kB / 437.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.2296, allocations: 159.7 kB / 437.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007219/0.2303, allocations: 0.6771 MB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.2306, allocations: 147.7 kB / 438.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.2309, allocations: 278.9 kB / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.2313, allocations: 290.7 kB / 438.8 MB, free: 196 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.201e-05/0.2314, allocations: 56 kB / 438.9 MB, free: 140 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2315, allocations: 59.98 kB / 438.9 MB, free: 80 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2316, allocations: 131.5 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.2319, allocations: 250.8 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006946/0.2326, allocations: 0.6628 MB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2326, allocations: 0 / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2326, allocations: 0 / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2326, allocations: 0 / 440 MB, free: 15.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001493/0.2341, allocations: 0.8086 MB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2341, allocations: 8.031 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.2344, allocations: 88.5 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.235, allocations: 314.1 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.235, allocations: 37.38 kB / 441.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.2351, allocations: 56.31 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009291/0.236, allocations: 0.6268 MB / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.236, allocations: 0 / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.2361, allocations: 20 kB / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.2361, allocations: 12 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006482/0.2367, allocations: 336.4 kB / 442.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.2398, allocations: 1.448 MB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.2403, allocations: 253.1 kB / 444 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.2406, allocations: 128 kB / 444.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2406, allocations: 4 kB / 444.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.2406, allocations: 46.55 kB / 444.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.714e-06/0.2406, allocations: 4 kB / 444.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002022/0.2426, allocations: 0.8048 MB / 444.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.2427, allocations: 85.05 kB / 445 MB, free: 9.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.2431, allocations: 389.5 kB / 445.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.2431, allocations: 29.7 kB / 445.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.2433, allocations: 300.1 kB / 445.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.809e-05/0.2434, allocations: 119 kB / 445.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2436, allocations: 78.08 kB / 445.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2437, allocations: 350.7 kB / 446.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.2439, allocations: 100.8 kB / 446.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.2442, allocations: 198.5 kB / 446.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.2447, allocations: 302.2 kB / 446.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2447, allocations: 0 / 446.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008576/0.2456, allocations: 449.1 kB / 447.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2456, allocations: 4 kB / 447.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2456, allocations: 4 kB / 447.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003523/0.2459, allocations: 85.91 kB / 447.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.2463, allocations: 79.89 kB / 447.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.2489, allocations: 2.863 MB / 450.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.2491, allocations: 27.88 kB / 450.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.2492, allocations: 16 kB / 450.4 MB, free: 4.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.2493, allocations: 169.9 kB / 450.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.2494, allocations: 43.77 kB / 450.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.752e-05/0.2495, allocations: 47.28 kB / 450.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2495, allocations: 0 / 450.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2495, allocations: 0 / 450.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.2496, allocations: 43.64 kB / 450.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.2496, allocations: 4 kB / 450.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.25, allocations: 39.91 kB / 450.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.2501, allocations: 23.95 kB / 450.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001008/0.2511, allocations: 0.4898 MB / 451.2 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008093/0.2519, allocations: 0.6272 MB / 451.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002035/0.2521, allocations: 105.6 kB / 451.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002855/0.2524, allocations: 267.1 kB / 452.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of Backend: time 3.21e-07/0.2524, allocations: 0 / 452.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.2535, allocations: 0.4995 MB / 452.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of SimCode: time 0.001652/0.2552, allocations: 1.408 MB / 454.1 MB, free: 192 kB / 350.1 MB Notification: Performance of Templates: time 0.01126/0.2664, allocations: 5.832 MB / 459.9 MB, free: 10.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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: 4.639227717001631]