Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.001427/0.001427, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001417/0.001417, allocations: 213.5 kB / 23.75 MB, free: 4.668 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.988 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 55.84 kB / 377.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2242, allocations: 53.36 MB / 431.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003619/0.2278, allocations: 2.17 MB / 433.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2291, allocations: 0.5843 MB / 433.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.2292, allocations: 4 kB / 433.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.2294, allocations: 35.64 kB / 433.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.2295, allocations: 59.55 kB / 434 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.2298, allocations: 55.88 kB / 434.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.2301, allocations: 235 kB / 434.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.2303, allocations: 53.78 kB / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.2305, allocations: 87.77 kB / 434.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.2306, allocations: 103.6 kB / 434.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.2307, allocations: 23.94 kB / 434.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.2307, allocations: 24 kB / 434.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.2308, allocations: 43.84 kB / 434.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.2309, allocations: 103.5 kB / 434.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.2312, allocations: 235.5 kB / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2312, allocations: 0 / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2312, allocations: 0 / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.2312, allocations: 0 / 434.9 MB, free: 3.008 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008332/0.2321, allocations: 428.5 kB / 435.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2321, allocations: 12.03 kB / 435.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.888e-05/0.2322, allocations: 50.73 kB / 435.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.2323, allocations: 24.8 kB / 435.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.2326, allocations: 170.2 kB / 435.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.2326, allocations: 8.375 kB / 435.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.2326, allocations: 16.38 kB / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.2331, allocations: 189.7 kB / 435.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2331, allocations: 0 / 435.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.2331, allocations: 11.88 kB / 435.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.2331, allocations: 8 kB / 435.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.2334, allocations: 139.9 kB / 436 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.2347, allocations: 0.6993 MB / 436.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.2351, allocations: 150.6 kB / 436.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.2353, allocations: 84.81 kB / 436.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2353, allocations: 7.938 kB / 436.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.2353, allocations: 34.5 kB / 436.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2353, allocations: 0 / 436.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004729/0.2358, allocations: 193.8 kB / 437.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2358, allocations: 55.34 kB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.236, allocations: 149.8 kB / 437.3 MB, free: 444 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2361, allocations: 29.7 kB / 437.4 MB, free: 408 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.2361, allocations: 136.2 kB / 437.5 MB, free: 268 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.2362, allocations: 43.64 kB / 437.5 MB, free: 224 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.2362, allocations: 33.7 kB / 437.6 MB, free: 184 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2364, allocations: 322.8 kB / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.2365, allocations: 59.92 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2367, allocations: 73.62 kB / 438 MB, free: 15.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.2369, allocations: 113.7 kB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2369, allocations: 0 / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003404/0.2373, allocations: 187.9 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2373, allocations: 4 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2373, allocations: 3.938 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2373, allocations: 8 kB / 438.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.2375, allocations: 39.97 kB / 438.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2375, allocations: 0 / 438.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2376, allocations: 15.89 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2376, allocations: 4 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.0001235/0.2378, allocations: 133.8 kB / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.2378, allocations: 15.91 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.2379, allocations: 20.7 kB / 438.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2379, allocations: 4 kB / 438.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2379, allocations: 0 / 438.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.2379, allocations: 0 / 438.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.2382, allocations: 236.6 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2382, allocations: 0 / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.2384, allocations: 39.91 kB / 438.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2384, allocations: 8 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2384, allocations: 11.88 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2384, allocations: 3.938 kB / 438.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2384, allocations: 3.984 kB / 438.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.2389, allocations: 298.5 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.2389, allocations: 11.91 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.2389, allocations: 15.97 kB / 439.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.2391, allocations: 12 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.2391, allocations: 7.969 kB / 439.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2391, allocations: 8 kB / 439.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.2393, allocations: 109 kB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2393, allocations: 0 / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.2396, allocations: 47.89 kB / 439.4 MB, free: 14.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * 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 (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0007779/0.2403, allocations: 0.8325 MB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.2406, allocations: 123.9 kB / 440.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2407, allocations: 4.062 kB / 440.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.2408, allocations: 59.91 kB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.2411, allocations: 27.98 kB / 440.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.2438, allocations: 2.063 MB / 442.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.2442, allocations: 0.7202 MB / 443.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.673e-05/0.2442, allocations: 13.36 kB / 443.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.2443, allocations: 51.42 kB / 443.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2443, allocations: 0 / 443.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.2779, allocations: 3.611 MB / 446.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.25, allocations: 0.75 kB / 446.9 MB, free: 6.824 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --stepSize=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[50220]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.679081714013591]