Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 47.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2502, allocations: 52.19 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00419/0.2544, allocations: 2.852 MB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2559, allocations: 0.7283 MB / 426.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.2562, allocations: 8 kB / 426.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.2563, allocations: 59.41 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.2567, allocations: 95.06 kB / 426.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.2571, allocations: 127.8 kB / 426.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.2577, allocations: 450.9 kB / 426.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.258, allocations: 165.4 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.2583, allocations: 187.4 kB / 427.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.2586, allocations: 199.1 kB / 427.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.545e-05/0.2587, allocations: 48 kB / 427.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.036e-05/0.2588, allocations: 44 kB / 427.6 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.2589, allocations: 107.7 kB / 427.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.2591, allocations: 207.1 kB / 427.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.2596, allocations: 0.4945 MB / 428.4 MB, free: 8.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2596, allocations: 3.938 kB / 428.4 MB, free: 8.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.2596, allocations: 4 kB / 428.4 MB, free: 8.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.2597, allocations: 0 / 428.4 MB, free: 8.812 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001214/0.2609, allocations: 0.6224 MB / 429 MB, free: 8.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2609, allocations: 16.03 kB / 429 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.261, allocations: 78.7 kB / 429.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.977e-05/0.2611, allocations: 52.66 kB / 429.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.2614, allocations: 214.6 kB / 429.3 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.2615, allocations: 29.38 kB / 429.4 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.2615, allocations: 44.38 kB / 429.4 MB, free: 7.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.2623, allocations: 463.4 kB / 429.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.2623, allocations: 0 / 429.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.2623, allocations: 19.94 kB / 429.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2624, allocations: 8 kB / 429.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.2629, allocations: 283.9 kB / 430.2 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.2649, allocations: 1.255 MB / 431.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.2653, allocations: 219.8 kB / 431.6 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.2657, allocations: 176.7 kB / 431.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2657, allocations: 8.484 kB / 431.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2657, allocations: 38.56 kB / 431.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.2657, allocations: 0 / 431.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001329/0.2671, allocations: 485.8 kB / 432.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.2672, allocations: 239.3 kB / 432.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.2674, allocations: 207 kB / 432.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.2674, allocations: 33.7 kB / 432.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.2676, allocations: 200.6 kB / 433 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.2677, allocations: 107.1 kB / 433.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.2678, allocations: 57.7 kB / 433.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2679, allocations: 342.8 kB / 433.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.2681, allocations: 75.95 kB / 433.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.2683, allocations: 160.9 kB / 433.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.2687, allocations: 200.2 kB / 433.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2687, allocations: 0 / 433.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004767/0.2692, allocations: 281.1 kB / 434.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2692, allocations: 4 kB / 434.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2692, allocations: 0 / 434.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2692, allocations: 4 kB / 434.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.2695, allocations: 83.95 kB / 434.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2695, allocations: 0 / 434.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.2697, allocations: 31.78 kB / 434.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.2698, allocations: 8 kB / 434.3 MB, free: 2.508 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.2699, allocations: 157.8 kB / 434.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.27, allocations: 27.8 kB / 434.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.27, allocations: 30.59 kB / 434.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2701, allocations: 4 kB / 434.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.2701, allocations: 0 / 434.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2701, allocations: 7.984 kB / 434.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.2712, allocations: 0.7429 MB / 435.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2712, allocations: 0 / 435.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.2714, allocations: 47.97 kB / 435.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/0.2717, allocations: 88.77 kB / 435.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.2718, allocations: 15.94 kB / 435.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.2738, allocations: 1.874 MB / 437.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2738, allocations: 4.031 kB / 437.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.2746, allocations: 499.3 kB / 437.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.2747, allocations: 27.86 kB / 437.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.2747, allocations: 8.125 kB / 437.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.2749, allocations: 15.98 kB / 437.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.275, allocations: 27.89 kB / 437.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.275, allocations: 11.94 kB / 437.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.2751, allocations: 148.6 kB / 438 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2751, allocations: 0 / 438 MB, free: 14.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.2755, allocations: 111.7 kB / 438.1 MB, free: 14.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.2766, allocations: 1.043 MB / 439.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.2771, allocations: 207.9 kB / 439.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2771, allocations: 0 / 439.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000447/0.2775, allocations: 266.5 kB / 439.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.2779, allocations: 31.92 kB / 439.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.2815, allocations: 2.888 MB / 442.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.282, allocations: 0.787 MB / 443.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.066e-05/0.282, allocations: 25.92 kB / 443.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2822, allocations: 99.41 kB / 443.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2822, allocations: 0 / 443.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.3213, allocations: 6.272 MB / 449.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.95, allocations: 7.438 kB / 449.8 MB, free: 2.828 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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: 14.42383814486675]