Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001298/0.001298, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001452/0.001452, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 56.34 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2443, allocations: 49.17 MB / 396.3 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003168/0.2474, allocations: 2.791 MB / 399.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2485, allocations: 0.7579 MB / 399.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.2486, allocations: 10.53 kB / 399.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.2488, allocations: 62.22 kB / 400 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.2489, allocations: 90.83 kB / 400.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.2492, allocations: 122.6 kB / 400.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.2496, allocations: 445.2 kB / 400.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.2498, allocations: 174.3 kB / 400.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.25, allocations: 181.1 kB / 401 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2502, allocations: 202.2 kB / 401.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.2503, allocations: 49.97 kB / 401.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-05/0.2504, allocations: 45.59 kB / 401.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.026e-05/0.2504, allocations: 92.31 kB / 401.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.2506, allocations: 216.8 kB / 401.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.2511, allocations: 0.4921 MB / 402 MB, free: 5.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2511, allocations: 3.938 kB / 402 MB, free: 5.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2511, allocations: 1.031 kB / 402 MB, free: 5.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.2511, allocations: 0 / 402 MB, free: 5.543 MB / 318.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.0009515/0.2521, allocations: 0.6151 MB / 402.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2521, allocations: 12.58 kB / 402.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.481e-05/0.2522, allocations: 83.11 kB / 402.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.2523, allocations: 46.81 kB / 402.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.2525, allocations: 226.7 kB / 403 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.2526, allocations: 33.78 kB / 403.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.2526, allocations: 39.66 kB / 403.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.2532, allocations: 451 kB / 403.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.2532, allocations: 9.953 kB / 403.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.2533, allocations: 15.66 kB / 403.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2533, allocations: 10.66 kB / 403.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.2537, allocations: 284.7 kB / 403.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.2553, allocations: 1.247 MB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.2557, allocations: 215.3 kB / 405.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.2561, allocations: 173.3 kB / 405.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2561, allocations: 3.031 kB / 405.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2561, allocations: 41.44 kB / 405.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.2561, allocations: 0 / 405.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001311/0.2574, allocations: 480.7 kB / 406 MB, free: 3.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.2575, allocations: 240.9 kB / 406.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.2577, allocations: 208.4 kB / 406.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2577, allocations: 32.8 kB / 406.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.2578, allocations: 203.4 kB / 406.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.2578, allocations: 107.8 kB / 406.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.2579, allocations: 60.41 kB / 406.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.258, allocations: 331.6 kB / 407.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.2581, allocations: 76.83 kB / 407.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.2583, allocations: 160.9 kB / 407.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/0.2591, allocations: 381.7 kB / 407.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2591, allocations: 0 / 407.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004081/0.2595, allocations: 280.1 kB / 408 MB, free: 1.699 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2595, allocations: 6.172 kB / 408 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2595, allocations: 0.7812 kB / 408 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.2595, allocations: 2.25 kB / 408 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.2599, allocations: 86.16 kB / 408.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2599, allocations: 2.984 kB / 408.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.26, allocations: 35.89 kB / 408.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.26, allocations: 11.64 kB / 408.2 MB, free: 1.66 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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.0002283/0.2603, allocations: 150.2 kB / 408.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.2603, allocations: 27.95 kB / 408.3 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.2604, allocations: 38.23 kB / 408.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2604, allocations: 2.656 kB / 408.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.2604, allocations: 2.844 kB / 408.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2604, allocations: 1.406 kB / 408.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.2614, allocations: 0.734 MB / 409.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2614, allocations: 2.188 kB / 409.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.2616, allocations: 51.42 kB / 409.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002794/0.2619, allocations: 94.25 kB / 409.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.2619, allocations: 6.266 kB / 409.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.2637, allocations: 1.883 MB / 411.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2637, allocations: 1.062 kB / 411.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.2645, allocations: 0.4993 MB / 411.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.2645, allocations: 26.22 kB / 411.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.2645, allocations: 11.5 kB / 411.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.2647, allocations: 10.64 kB / 411.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.2648, allocations: 25.88 kB / 411.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.2648, allocations: 14.11 kB / 411.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.2649, allocations: 154.3 kB / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2649, allocations: 0 / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.2653, allocations: 110.1 kB / 412 MB, free: 14.91 MB / 334.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.001107/0.2664, allocations: 1.031 MB / 413 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004187/0.2669, allocations: 204.3 kB / 413.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2669, allocations: 0 / 413.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.2673, allocations: 266.6 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.2676, allocations: 26.62 kB / 413.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.2712, allocations: 2.878 MB / 416.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.2716, allocations: 0.783 MB / 417.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.889e-05/0.2717, allocations: 23.38 kB / 417.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.2718, allocations: 99.56 kB / 417.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2718, allocations: 1.062 kB / 417.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.3079, allocations: 6.071 MB / 423.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.04, allocations: 13.23 kB / 423.4 MB, free: 7.676 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.9984e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:time,C1.vinternal,C2.vinternal,L1.iinternal,L2.iinternal,L3.iinternal [Calling sys.exit(0), Time elapsed: 14.513087986997562]