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.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.001366/0.001366, allocations: 117.4 kB / 18.45 MB, free: 4.621 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.001427/0.001427, allocations: 193.2 kB / 21.39 MB, free: 1.688 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.408/1.408, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 178] 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 55.92 kB / 342.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/0.09213, allocations: 49.13 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004027/0.09616, allocations: 2.789 MB / 394.2 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.09759, allocations: 0.7602 MB / 394.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.09772, allocations: 8 kB / 394.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.09787, allocations: 71.34 kB / 395 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.09807, allocations: 87.12 kB / 395.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.09846, allocations: 123.8 kB / 395.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.09894, allocations: 442.8 kB / 395.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.09925, allocations: 172.7 kB / 395.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.09948, allocations: 175.4 kB / 396 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.09972, allocations: 199.2 kB / 396.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.817e-05/0.09979, allocations: 44 kB / 396.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.628e-05/0.09986, allocations: 48 kB / 396.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.09996, allocations: 107.7 kB / 396.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.1002, allocations: 215 kB / 396.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.1007, allocations: 0.4902 MB / 397.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1007, allocations: 0 / 397.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1007, allocations: 0 / 397.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1007, allocations: 0 / 397.1 MB, free: 3.016 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.001153/0.1019, allocations: 0.6938 MB / 397.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1019, allocations: 12.03 kB / 397.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.679e-05/0.102, allocations: 74.72 kB / 397.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/0.1021, allocations: 48.66 kB / 397.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.1024, allocations: 281.4 kB / 398.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.1025, allocations: 29.38 kB / 398.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.1025, allocations: 44.36 kB / 398.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.1033, allocations: 459.4 kB / 398.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1033, allocations: 0 / 398.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.1033, allocations: 20 kB / 398.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1033, allocations: 8 kB / 398.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.1039, allocations: 283.9 kB / 399 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.1058, allocations: 1.291 MB / 400.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.1063, allocations: 222.6 kB / 400.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.1066, allocations: 168.8 kB / 400.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1066, allocations: 8 kB / 400.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.1067, allocations: 38.56 kB / 400.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.1067, allocations: 0 / 400.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001384/0.1081, allocations: 0.5424 MB / 401.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.1082, allocations: 243.2 kB / 401.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1084, allocations: 214.9 kB / 401.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.1085, allocations: 29.7 kB / 401.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.1086, allocations: 204.3 kB / 401.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.063e-05/0.1087, allocations: 107.1 kB / 402 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.1088, allocations: 61.69 kB / 402.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.109, allocations: 326.8 kB / 402.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.1092, allocations: 79.81 kB / 402.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.1094, allocations: 156.6 kB / 402.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008613/0.1103, allocations: 366.2 kB / 403 MB, free: 12.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1103, allocations: 0 / 403 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004612/0.1108, allocations: 281 kB / 403.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1108, allocations: 8 kB / 403.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1108, allocations: 0 / 403.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1108, allocations: 3.984 kB / 403.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.1111, allocations: 79.91 kB / 403.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.1111, allocations: 11.92 kB / 403.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.1113, allocations: 27.78 kB / 403.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1113, allocations: 12 kB / 403.4 MB, free: 12.26 MB / 334.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.000318/0.1116, allocations: 161.8 kB / 403.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.1117, allocations: 27.8 kB / 403.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.1118, allocations: 30.66 kB / 403.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1118, allocations: 11.92 kB / 403.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.1118, allocations: 0 / 403.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1118, allocations: 3.984 kB / 403.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.113, allocations: 0.7711 MB / 404.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.113, allocations: 0 / 404.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.1133, allocations: 51.97 kB / 404.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000279/0.1136, allocations: 88.8 kB / 404.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.1136, allocations: 8 kB / 404.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.1157, allocations: 1.981 MB / 406.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1157, allocations: 0 / 406.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.1165, allocations: 0.4983 MB / 407 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.1166, allocations: 100.9 kB / 407.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.1166, allocations: 12.12 kB / 407.1 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.1168, allocations: 11.98 kB / 407.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.1168, allocations: 23.97 kB / 407.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1169, allocations: 12.05 kB / 407.2 MB, free: 8.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.117, allocations: 156.3 kB / 407.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.117, allocations: 3.938 kB / 407.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.1174, allocations: 107.7 kB / 407.5 MB, free: 7.961 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.001143/0.1185, allocations: 1.035 MB / 408.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.1189, allocations: 207.8 kB / 408.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1189, allocations: 4 kB / 408.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.1193, allocations: 262.5 kB / 409 MB, free: 6.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.1196, allocations: 31.91 kB / 409 MB, free: 6.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.1232, allocations: 2.88 MB / 411.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.1236, allocations: 0.7831 MB / 412.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.605e-05/0.1237, allocations: 33.92 kB / 412.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.1239, allocations: 103.4 kB / 412.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1239, allocations: 0 / 412.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.1575, allocations: 5.835 MB / 418.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.59, allocations: 7.938 kB / 418.6 MB, free: 12.56 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.043480032123625]